<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>更新书籍表</title>
</head>
<body>
<form action="/update_book/{{ book.id }}" method="post">
    {% csrf_token %}
    <p>
        title: <input type="text" value="{{ book.title }}" disabled="disabled">
    </p>
    <p>
        price: <input type="text" value="{{ book.price }}" name="price">
    </p>
    <p>
        retail_price: <input type="text" value="{{ book.retail_price }}" name="retail_price">
    </p>
    <p>
        public: <input type="text" value="{{ book.pub.pubname }}" disabled="disabled">
    </p>
    <p>
        <input type="submit" value="提交">
    </p>
</form>
</body>
</html>